home *** CD-ROM | disk | FTP | other *** search
/ Personal Computer World 2009 February / PCWFEB09.iso / Software / Linux / Kubuntu 8.10 / kubuntu-8.10-desktop-i386.iso / casper / filesystem.squashfs / etc / fonts / conf.avail / 29-language-selector-ko-kr.conf < prev    next >
Text File  |  2008-03-06  |  3KB  |  121 lines

  1. <fontconfig>
  2.  
  3. <!-- Turn on antialias and hinting with hintmedium -->
  4. <match target="font" >
  5.     <edit mode="assign" name="antialias" >
  6.         <bool>true</bool>
  7.     </edit>
  8. </match>
  9. <match target="font" >
  10.     <edit mode="assign" name="hinting" >
  11.         <bool>true</bool>
  12.     </edit>
  13. </match>
  14. <match target="font" >
  15.     <edit mode="assign" name="hintstyle" >
  16.         <const>hintmedium</const>
  17.     </edit>
  18. </match>
  19.  
  20. <!-- Control spacing property for Korean -->
  21. <match target="font">
  22.     <test name="lang" compare="contains">
  23.         <string>ko</string>
  24.     </test>
  25.     <test name="spacing" compare="eq">
  26.         <const>dual</const>
  27.     </test>
  28.     <edit name="spacing">
  29.         <const>proportional</const>
  30.     </edit>
  31.     <edit name="globaladvance" binding="strong">
  32.         <bool>false</bool>
  33.     </edit>
  34. </match>
  35. <match target="font">
  36.     <test name="lang" compare="contains">
  37.         <string>ko</string>
  38.     </test>
  39.     <test name="outline" compare="eq">
  40.         <bool>false</bool>
  41.     </test>
  42.     <test name="spacing" compare="eq">
  43.         <const>mono</const>
  44.         <const>charcell</const>
  45.     </test>
  46.     <edit name="spacing">
  47.         <const>proportional</const>
  48.     </edit>
  49.     <edit name="globaladvance" binding="strong">
  50.         <bool>false</bool>
  51.     </edit>
  52.     </match>
  53.  
  54. <!-- Turn off antialias and autohint for Korean fonts depending on pixelsize -->
  55. <match target="font">
  56.         <test name="lang" compare="contains">
  57.                 <string>ko</string>
  58.         </test>
  59.         <test name="pixelsize" compare="more">
  60.         <int>10</int>
  61.     </test>
  62.         <test name="pixelsize" compare="less">
  63.         <int>22</int>
  64.     </test>
  65.         <edit name="antialias" mode="assign">
  66.         <bool>false</bool>
  67.     </edit>
  68.         <edit name="autohint" mode="assign">
  69.         <bool>false</bool>
  70.     </edit>
  71.         <edit name="hintstyle" mode="assign">
  72.         <const>hintmedium</const>
  73.     </edit>
  74. </match>
  75.  
  76. <!-- Turn on antialias and hinting with hintmedium for ttf-Unfonts -->
  77. <match target="font">
  78.         <test name="family" compare="contains">
  79.                 <string>Un</string>
  80.         </test>
  81.         <edit name="antialias" mode="assign">
  82.         <bool>true</bool>
  83.     </edit>
  84.         <edit name="hinting" mode="assign">
  85.         <bool>true</bool>
  86.     </edit>
  87.     <edit name="hintsytle" mode="assign">
  88.         <const>hintmedium</const>
  89.     </edit>
  90. </match>
  91.  
  92. <!-- Turn off antialias and autohint for ttf-alee depending on pixelsize -->
  93. <match target="font">
  94.         <test name="family">
  95.                 <string>Guseul</string>
  96.         </test>
  97.         <edit name="autohint" mode="assign">
  98.         <bool>true</bool>
  99.     </edit>
  100. </match>
  101. <match target="font">
  102.         <test name="family">
  103.                 <string>Guseul</string>
  104.                 <string>Guseul Mono</string>
  105.         </test>
  106.     <test name="pixelsize" compare="more">
  107.         <int>11</int>
  108.     </test>
  109.     <test name="pixelsize" compare="less">
  110.         <int>16</int>
  111.     </test>
  112.     <edit name="antialias" mode="assign">
  113.         <bool>false</bool>
  114.     </edit>
  115.         <edit name="autohint" mode="assign">
  116.         <bool>false</bool>
  117.     </edit>
  118. </match>
  119.  
  120. </fontconfig>
  121.